package com.lu.project.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.lu.project.model.vo.DeviceVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 客户老人关联实体类
 */
@Data
public class MemberElder extends BaseEntity {

    /**
     * 客户id
     */
    @ApiModelProperty(value = "客户id")
    private Long memberId;

    /**
     * 老人id
     */
    @ApiModelProperty(value = "老人id")
    private Long elderId;



    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名")
    private String name;

    /**
     * 身份证号
     *//*
    @ApiModelProperty(value = "身份证号")
    private String idCard;*/

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String phone;


    /**
     * 关系
     */
    @ApiModelProperty(value = "关系")
    private String relationship;

    @ApiModelProperty(value = "绑定的智能设备id列表")
    @TableField(exist = false)
    private List<DeviceVo> deviceVos;


}


